from flask import Flask

def crea_flask_app():
    app = Flask(__name__)
    # app.config.from_object(config)
    app.config.from_pyfile('settings.py')
    return app